home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / gus / sdkdigv2.zip / SDKV2N18.TXT < prev    next >
Text File  |  1993-06-24  |  3KB  |  94 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6. GUS Programmer's Digest     Thu Jun 24 00:07     Volume 2: Issue  18  
  7.  
  8. Today's Topics:
  9.                   Gravis/FORTE - Please read this!!!
  10.                              Patch files.
  11.  
  12. Standard Info:
  13.     - Meta-info about the GUS can be found at the end of the Digest.
  14.     - Before you ask a question, please READ THE FAQ.
  15.  
  16. ----------------------------------------------------------------------
  17.  
  18. Date: Wed, 23 Jun 93 15:11:12 EDT
  19. From: dulimart@cps.msu.edu (Hansye S. Dulimarta)
  20. Subject: Gravis/FORTE - Please read this!!!
  21. Message-ID: <9306231911.AA18594@pixel.cps.msu.edu>
  22.  
  23. Hello all,
  24.   I've been very happy with the GUS card that I bought last month.  So
  25. far, I've tried the demo files that came with the 2.06L disks and
  26. enjoyed listening to them.  I thought, it's time for me to write a
  27. program that will enhance my MIDI keyboard.  The project that I have in
  28. mind is to make my computer as the second keyboard.  For this to work, I
  29. need a program that read the MIDI port and let the GUS play the note
  30. using the patch file I want.
  31.  
  32. This is what I'm doing: Using the information in the file PATCH.H in the
  33. SDK documentation, I was able to write a program that reads a patch file
  34. and parses the data in it. Then, using the function UltraDownload, the
  35. program downloaded the sample waveform to the GUS DRAM, and then
  36. UltraVoiceOn is called.  But.....no sound came out of my speaker.  Could
  37. anybody tell me what I'm doing wrong here?
  38.  
  39. Also, a lot of fields in the PATCHDATA structure are still fuzzy to me.
  40. For instance I don't know the meaning of the following fields:
  41. fractions, tune, envelope_rate, envelope_offset, tremolo_*, vibrato_*,
  42. modes, scale_frequency, and scale_factor.  As you can see, almost all
  43. fields in the structure are unclear to me.
  44.  
  45. I appreciate if some GUS programmers or John Smith would answer my
  46. questions.
  47.  
  48. Happy GUS programming...
  49.  
  50. ------------------------------
  51.  
  52. Date: Wed, 23 Jun 93 02:26:34 EDT
  53. From: dulimart@cps.msu.edu (Hansye S. Dulimarta)
  54. Subject: Patch files.
  55. Message-ID: <9306230626.AA15698@pixel.cps.msu.edu>
  56.  
  57. Hello GUS-SDK readers,
  58.   I'd like to have a discussion about GUS patch files.  The only source
  59. that explains them was found in PATCH.H (with unsolved puzzle here and
  60. there).  First of all: does anybody know the exact format of a PATCH
  61. file?  My guess is that for a single instrument, single layer, and
  62. single wave the format is:
  63.  
  64.     HILPW
  65.  
  66. where 
  67. H=PATCHHEADER, I=INSTRUMENTDATA, L=LAYERDATA, P=PATCHDATA, W=sample wave.
  68.  
  69. For multiple sample waves, I guess that the format is
  70.     HILPWPW....PW
  71.  
  72. could somebody confirm this?  How about multiple layers / instruments.
  73. Does anybody have a better documentation on GUS patch files.
  74.  
  75. Hans.
  76.  
  77. ------------------------------
  78.  
  79. End of GUS Programmer's Digest V2 #18
  80. *************************************
  81.  
  82. To post to tomorrow's digest:               <gus-sdk%itchy@dsd.es.com>
  83. To (un)subscribe or get help:       <gus-sdk-request%itchy@dsd.es.com>
  84. To contact a human (last resort):     <gus-sdk-owner%itchy@dsd.es.com>
  85.  
  86. FTP sites:         archive.epas.utoronto.ca         pub/pc/ultrasound
  87.                    wuarchive.wustl.edu       systems/msdos/ultrasound
  88. Hints:
  89.       - Get the FAQ from the FTP sites or the request server.
  90.       - Mail to <gus-sdk-request%itchy@dsd.es.com> for info about
  91.     other GUS related mailing lists (UNIX, OS/2, GUS-MIDI, etc.)
  92.  
  93.  
  94.